package com.example.waterdispenserm2.inter;


public class MainInterfaceUtil {
    private static MainInterface mainInterface;

    public static void setM2Interface(MainInterface m2Interface) {
        mainInterface = m2Interface;
    }


    public static void doCallBackUpdateConnectionStatus(boolean status){
        if (mainInterface!=null) {
            mainInterface.updateConnectionStatus(status);
        }
    }
}
